Skip to content

Added new D3D12 PSO compilation metrics#651

Open
gvinals wants to merge 1 commit into
GameTechDev:mainfrom
gvinals:gvinals/pso_compile_metrics
Open

Added new D3D12 PSO compilation metrics#651
gvinals wants to merge 1 commit into
GameTechDev:mainfrom
gvinals:gvinals/pso_compile_metrics

Conversation

@gvinals

@gvinals gvinals commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This commit adds 3 new metrics related to D3D12 PSO compilation:

  • D3D12 PSO Compile Count: D3D12 PSO compilation events started every second.
  • D3D12 PSO Compile Time: D3D12 PSO compile time in milliseconds per second (across all CPUs).
  • D3D12 PSO Compile Busy: Percent of time with D3D12 PSO compilation taking place.

This commit also adds a new supported provider (Microsoft-Windows-Direct3D12).

Note that: D3D12 PSO compilation events are not tied to a specific present.

This new events are tied to the process itself and are a "new" type of metric (per-process, ETW based but not tied to a present). This commit includes very small changes to support the new metric type.

This commit adds 3 new metrics related to D3D12 PSO compilation:
- D3D12 PSO Compile Count: D3D12 PSO compilation events started every second.
- D3D12 PSO Compile Time: D3D12 PSO compile time in milliseconds per second (across all CPUs).
- D3D12 PSO Compile Busy: Percent of time with D3D12 PSO compilation taking place.

This commit also adds a new supported provider (Microsoft-Windows-Direct3D12).

Note that: D3D12 PSO compilation events are not tied to a specific present.

This new events are tied to the process itself and are a "new" type of metric (per-process, ETW based
but not tied to a present). This commit includes very small changes to support the new metric type.
@gvinals gvinals force-pushed the gvinals/pso_compile_metrics branch from 96f67ca to 7607b00 Compare June 18, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant